package com.jackykeke.kdatabasedemo;

import android.app.Application;

import com.jackykeke.kdatabasedemo.db.helper.DatabaseHelper;

public class MainApplication extends Application {

    private static MainApplication sInstance;


    public MainApplication() {
        sInstance = this;
    }

    public static Application getApplication() {
        return (Application) sInstance.getApplicationContext();
    }


    @Override
    public void onCreate() {
        super.onCreate();

        DatabaseHelper mDBHelper = new DatabaseHelper(this);

    }
}
